package chp03.homework;

import java.util.Scanner;

public class Home3 {

    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.println("请输入成绩:");
        int score = input.nextInt();
        if(score == 100){
            System.out.println("买车");
        }else if(score >= 90){
            System.out.println("买笔记本电脑");
        }else if(score >= 60){
            System.out.println("买手机");
        }else{
            System.out.println("没有礼物");
        }
    }
}
